package com.yb.guigu.pick.auth.mapper;

import com.yb.guigu.pick.auth.entity.SysRole;
import com.yb.guigu.pick.auth.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 姚兵
 * @since 2023-05-30
 */
public interface SysUserMapper extends BaseMapper<SysUser> {

    public List<SysRole> userRole(@Param("userId") Integer userId);

    public List<Integer> listRouteIds(@Param("userId") Integer userId);
}
